package com.ngu.biz.notepad.dao;

import com.ngu.biz.notepad.model.Notepads;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @Description:    数据操作层
* @Author:         hq
* @CreateDate:     2020/2/7
* @Version:        1.0
*/
@Mapper
public interface NotepadsMapper {
    //记事本list查询
    List<Notepads> selectNotepadsList(Notepads record);
    //记事本list查询总条数
    Integer selectNotepadsListCount(Notepads record);

    int deleteByPrimaryKey(Long nId);

    int insert(Notepads record);

    int insertSelective(Notepads record);

    Notepads selectByPrimaryKey(Long nId);

    int updateByPrimaryKeySelective(Notepads record);

    int updateByPrimaryKey(Notepads record);



}